window.onload = function ()
{
	new Ajax.Autocompleter("first_name", "autocomplete_choices", base_url+"site/searchFriendsAjax/", {});
}
//	$('friend_search_form').onsubmit = function () {
//		inline_results();
//		return false;
//	}
//}

//function inline_results() {
//	new Ajax.Updater ('last_name', base_url+'site/searchFriendsAjax', {method:'post', postBody:'last_name=true&first_name='+$F('first_name')});
//	new Effect.Appear('last_name');
//
//}

